# -*- coding:utf-8 -*-
# @Time:2024/4/1921:01
# @Author:miuzg
# @FileName:new test2.py
# @Software:PyCharm
import openpyxl

wb = openpyxl.load_workbook('connect.xlsx')
ws = wb.active

for i in ws:
    for j in range(len(i)):
        if type(i[j].value) is str:
            for s in i[j].value:
                if s =='*':
                    i[j].value = '**'
                else:
                    continue
        else:
            continue
wb.save('connect-change.xlsx')

